<?php 
	namespace app\data\model;

	use think\Model;

	/**
	* 商品分类模型
	*/
	class ShopCates extends Model
	{
		/**
		 * 关联属性
		 * @return [type] [description]
		 */
		public function attr()
		{
			return $this->hasMany('ShopAttr','model_id');
		}
	}